Refund #{{ r.id }} (Appointment #{{ r.appointment_id }})
Reason: {{ (r.reason or 'other')|replace('_', ' ')|title }}
Created: {{ r.created_at.strftime('%d %b %Y %H:%M') if r.created_at else '-' }}
PKR {{ "%.2f"|format(r.amount) }}
{{ r.status }}
{% if r.status == 'pending' %}
Submit your payment details so admin can transfer your refund and upload proof.
{% else %}
Refund completed on {{ r.processed_at.strftime('%d %b %Y %H:%M') if r.processed_at else '-' }}.
{% if r.payout_detail and r.payout_detail.admin_proof_path %}
View admin proof
{% endif %}
{% endif %}